package com.stylefeng.guns.modular.pay.exception;

import com.stylefeng.guns.core.util.DateUtil;
import com.stylefeng.guns.core.util.RandomStringGenerator;

public class Result {
	
	public String version = "1.0"; // 业务响应码
	public String charset = "UTF-8"; // 返回信息描述
	public String signType="MD5";
	public String respTime=DateUtil.getAllTime(); // 响应时间
	public String respCode; // 响应代码
	public String respMsg; // 响应描述
	public String sign;
	private String nonceStr = RandomStringGenerator.getRandomStringByLength(32);//32位随机字符串
	
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getCharset() {
		return charset;
	}
	public void setCharset(String charset) {
		this.charset = charset;
	}
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
	public String getRespTime() {
		return respTime;
	}
	public void setRespTime(String respTime) {
		this.respTime = respTime;
	}
	public String getRespCode() {
		return respCode;
	}
	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}
	public String getRespMsg() {
		return respMsg;
	}
	public void setRespMsg(String respMsg) {
		this.respMsg = respMsg;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	
	
	
}
